﻿using System;
using Microsoft.TeamFoundation.VersionControl.Client;
using TfsCommitMonitor.Interfaces;

namespace TfsCommitMonitor.Tests.Mocking
{
	class MockTfsBusiness : ITfsBusiness
	{
		#region ITfsBusiness Members

		public Microsoft.TeamFoundation.VersionControl.Client.Change[] GetChangesForChangeset(Uri teamCollectionUri, string projectPath, int changesetId)
		{
			throw new NotImplementedException();
		}

		public Tfs.Changeset[] PollForChanges(Uri teamCollectionUri, string projectPath, int? lastChangesetId)
		{
			return 
				new MockTfsPoller().PollForChanges(lastChangesetId, projectPath);
		}

		public string DownloadChanges(Uri teamCollectionUri, string projectPath, Change change)
		{
			throw new NotImplementedException();
		}

		#endregion
	}
}
